package com.wuzhao.resume.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: Yu Feifei
 * @since: 2020-10-20 19:30
 * @description:
 * @version: 1.0
 */
@Data
@TableName("file")
public class ResumeFile implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 文件名
     */
    private String name;

    /**
     * 文件存放绝对路径
     */
    private String filePath;

    /**
     * url
     */
    private String url;

    /**
     * 上传文件名
     */
    private String oldName;
    /**
     * 创建时间
     */
    protected LocalDateTime createTime;
    /**
     * 修改时间
     */
    protected LocalDateTime updateTime;


}
